package com.dcbeida.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 150410 on 2017/10/16.
 */

public class NewPatient implements Serializable {

    /**
     * id : 1002
     * truename : 张三
     * idcardnum : 5100002034204
     * phonenum : 13965743132
     * sex : 1
     * address :
     * createtime : 2017-01-01
     * hospitalid : 22
     * doctorid : 15
     * doctorname : 李四
     * smokestatus :
     * smokeyears :
     * firsttreatmentdate : 2009-01-01
     * pathology : {"type":[{"id":"","name":"","memo":""}],"severallines":[{"id":"","name":"","memo":""}]}
     * provinceid : 0
     * cityid : 0
     * regionid : 0
     * regionname : {"area":"","city":"","province":""}
     * memo :
     * referid : 0
     */

    private String id;
    private String truename;
    private String idcardnum;
    private String phonenum;
    private int sex;
    private String address;
    private String createtime;
    private int hospitalid;
    private int doctorid;
    private String doctorname;
    private String smokestatus;
    private String smokeyears;
    private String firsttreatmentdate;
    private PathologyBean pathology;
    private int provinceid;
    private int cityid;
    private int regionid;
    private int cardtype;
    private RegionnameBean regionname;
    private String memo;
    private String birthday;
    private int referid;

    public int getCardtype() {
        return cardtype;
    }

    public void setCardtype(int cardtype) {
        this.cardtype = cardtype;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getIdcardnum() {
        return idcardnum;
    }

    public void setIdcardnum(String idcardnum) {
        this.idcardnum = idcardnum;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public int getHospitalid() {
        return hospitalid;
    }

    public void setHospitalid(int hospitalid) {
        this.hospitalid = hospitalid;
    }

    public int getDoctorid() {
        return doctorid;
    }

    public void setDoctorid(int doctorid) {
        this.doctorid = doctorid;
    }

    public String getDoctorname() {
        return doctorname;
    }

    public void setDoctorname(String doctorname) {
        this.doctorname = doctorname;
    }

    public String getSmokestatus() {
        return smokestatus;
    }

    public void setSmokestatus(String smokestatus) {
        this.smokestatus = smokestatus;
    }

    public String getSmokeyears() {
        return smokeyears;
    }

    public void setSmokeyears(String smokeyears) {
        this.smokeyears = smokeyears;
    }

    public String getFirsttreatmentdate() {
        return firsttreatmentdate;
    }

    public void setFirsttreatmentdate(String firsttreatmentdate) {
        this.firsttreatmentdate = firsttreatmentdate;
    }

    public PathologyBean getPathology() {
        return pathology;
    }

    public void setPathology(PathologyBean pathology) {
        this.pathology = pathology;
    }

    public int getProvinceid() {
        return provinceid;
    }

    public void setProvinceid(int provinceid) {
        this.provinceid = provinceid;
    }

    public int getCityid() {
        return cityid;
    }

    public void setCityid(int cityid) {
        this.cityid = cityid;
    }

    public int getRegionid() {
        return regionid;
    }

    public void setRegionid(int regionid) {
        this.regionid = regionid;
    }

    public RegionnameBean getRegionname() {
        return regionname;
    }

    public void setRegionname(RegionnameBean regionname) {
        this.regionname = regionname;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public int getReferid() {
        return referid;
    }

    public void setReferid(int referid) {
        this.referid = referid;
    }

    public static class PathologyBean {
        private List<TypeBean> type;
        private List<SeverallinesBean> severallines;

        public List<TypeBean> getType() {
            return type;
        }

        public void setType(List<TypeBean> type) {
            this.type = type;
        }

        public List<SeverallinesBean> getSeverallines() {
            return severallines;
        }

        public void setSeverallines(List<SeverallinesBean> severallines) {
            this.severallines = severallines;
        }

        public static class TypeBean {
            /**
             * id :
             * name :
             * memo :
             */

            private String id;
            private String name;
            private String memo;
            private int value;

            public int getValue() {
                return value;
            }

            public void setValue(int value) {
                this.value = value;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getMemo() {
                return memo;
            }

            public void setMemo(String memo) {
                this.memo = memo;
            }
        }

        public static class SeverallinesBean {
            /**
             * id :
             * name :
             * memo :
             */

            private String id;
            private String name;
            private String memo;
            private int value;

            public int getValue() {
                return value;
            }

            public void setValue(int value) {
                this.value = value;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getMemo() {
                return memo;
            }

            public void setMemo(String memo) {
                this.memo = memo;
            }
        }
    }

    public static class RegionnameBean {
        /**
         * area :
         * city :
         * province :
         */

        private String area;
        private String city;
        private String province;

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }
    }
}
